const config = axios({
  method: 'post',
  url: 'http://cba.itlike.com/public/index.php?s=/api/captcha/sendSmsCaptcha'
}).then(({ data: res }) => {
  console.log(res)
})
const mn = document.querySelector('.main')
const img = document.querySelector('.main img ')
function met(items) {
  let str = ''
  let item = items.find(item => item.type == 'navBar')
  item.data.forEach(el => {
    str += `
    <div class='it'>
       <div><img src=${el.imgUrl} alt=""></div>
          <p>${el.text}</p>
       </div>
    `
  })
  mn.innerHTML = str
}
